class Photo {
	byte[] image
	String filename
	String type
	
	static constraints={
		type( inList: ['jpg', 'gif', 'png'])
	}
}
